/*
 * Copyright (c) 2021
 * User:魔金多商户商城
 * File:ErrorController.java
 * Date:2020/09/13 08:43:13
 */

package com.rentalcar.appletsutil;


import org.springframework.boot.autoconfigure.web.servlet.error.AbstractErrorController;
import org.springframework.boot.web.servlet.error.ErrorAttributes;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by 魔金商城 on 2019/5/25.
 * 错误控制器
 */
@RestController
public class ErrorController extends AbstractErrorController {

    /**
     * 错误地址
     */
    private static final String ERROR_PATH = "/error";


    public ErrorController(ErrorAttributes errorAttributes) {
        super(errorAttributes);
    }
}
